home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr38 / dosutl.zip / DOSUTIL.DOC < prev    next >
Text File  |  1993-06-01  |  23KB  |  611 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.         
  8.                           DIRECTORY COMMANDER PLUS
  9.                           ========================
  10.                                 Version 1.6
  11.         
  12.                    Copyright 1991-1993 by Chuck Steenburgh
  13.                              & Tay-Jee Software
  14.         
  15.                             _______
  16.                        ____|__     |               (TM)
  17.                     --|       |    |-------------------
  18.                       |   ____|__  |  Association of
  19.                       |  |       |_|  Shareware
  20.                       |__|   o   |    Professionals
  21.                     -----|   |   |---------------------
  22.                          |___|___|    MEMBER
  23.         
  24.         
  25.              DOS Version 6.00 adds many new features to the venerable 
  26.         dir[ectory] command.  What makes these new options even more 
  27.         useful is the addition of the environment variable DIRCMD.  By 
  28.         using DIRCMD, you can store your favorite switches for the dir 
  29.         command in the environment so you don't have to keep typing them
  30.         on the command line.
  31.         
  32.              The problem, of course, is that these switches are still 
  33.         just as cryptic as ever.  For example, the command:
  34.         
  35.                        dir /og
  36.         
  37.         means to show all files with subdirectories grouped before the 
  38.         files.  Makes sense, doesn't it?  That's what we said.
  39.         
  40.              We wrote DIRECTORY COMMANDER to make life a little easier 
  41.         for myself.  Instead of requiring you to spend 10 minutes look-
  42.         ing through your DOS 6.00 manual to remember what all those 
  43.         switches are so you can compose a SET DIRCMD= line, DIRECTORY 
  44.         COMMANDER will guide you through the process of selecting your 
  45.         desired options from a simple, menu-driven display.  DIRECTORY 
  46.         COMMANDER will then create a small batch file containing the
  47.         options you have selected.  Just execute this batch file, and 
  48.         your preferences will be saved to the environment.
  49.         
  50.              Material that differs from the documentation for the prev-
  51.         ious version is set off by vertical lines in the margin.
  52.         
  53.         
  54.         STARTING DIRECTORY COMMANDER
  55.         
  56.              Starting DIRECTORY COMMANDER couldn't be easier.  Simply 
  57.         type DCPLUS at the command line.  You will see a small box 
  58.         containing the words "DIRCMDr PLUS" at the top of the screen, 
  59.         and two larger boxes below.
  60.         
  61.  
  62.                                      Page 1
  63.  
  64.  
  65.  
  66.  
  67.  
  68.              The box on the left (surrounded by double lines) contains 
  69.         the Directory Options menu.  Select these options by pressing 
  70.         the first letter in the option name (highlighted in blue on 
  71.         color displays).  Pressing the first letter will toggle an 
  72.         "X" off and on next to the option.  "X" means that option is 
  73.         currently selected.
  74.         
  75.         
  76.              [ ] Pause when full
  77.         
  78.              This activates the /p switch.  When the screen fills,
  79.              you will be asked by DOS to press any key to continue.
  80.         
  81.              [ ] Wide format
  82.         
  83.              This activates the /w switch.  Filenames only will be
  84.              displayed in five columns across the screen.  Has no 
  85.              effect if the "File names only" option is selected.
  86.         
  87.              [ ] Subdirectories
  88.         
  89.              This activates the /s switch.  In addition to the cur-
  90.              rent directory, all subdirectories beneath it will be
  91.              included.
  92.         
  93.              [ ] File names only
  94.         
  95.              This will eliminate all of the "extraneous" information
  96.              from the listing, producing only a list of filenames
  97.              (in the format FILENAME.EXT) with no headers or footers.
  98.              Activates the /b switch.
  99.         
  100.              [ ] Lowercase only
  101.         
  102.              This activates the /l switch.  All file and directory
  103.              names will be displayed in lower case.
  104.         
  105.              [ ] DIRCMD Set
  106.         
  107.              When activated, this option will cause DIRECTORY COMMANDER
  108.              to set a master environment variable named DIRCMD with the
  109.              options you have selected.  These options will then be in
  110.              effect automatically whenever the DIR command is used from
  111.              DOS.
  112.         
  113.              The box on the right side of the screen (initially sur-
  114.         rounded by single lines) contains what two "special options."  
  115.         These are the /a (attribute) and /o (order of sort) switches.  
  116.         This large box is divided into two smaller boxes, one for each 
  117.         of these two options.
  118.         
  119.              This menu operates a little differently.  Like the simple 
  120.         Directory Options, "Attributes" and "Order of Sort" can be 
  121.         selected by pressing the first letter of their names (high-
  122.  
  123.                                      Page 2
  124.  
  125.  
  126.  
  127.  
  128.  
  129.         lighted in blue).  Initially, both options are turned off 
  130.         (no "X" displayed next to option name).  When you press the 
  131.         "a" or "o" key for the first time, you will activate that 
  132.         option AND the Special Options menu.  Note that single lines 
  133.         will now appear around the Directory Options Menu and double 
  134.         lines will appear around the appropriate portion of the Special
  135.         Options menu.
  136.         
  137.              When the Special Options menu is active, you can select 
  138.         additional options.  These options appear below the words 
  139.         "Attributes" and "Order of Sort."  When you select either "a" 
  140.         or "o", the corresponding set of special options becomes active
  141.         (first letter is highlighted in green).  These options are 
  142.         described below:
  143.         
  144.         
  145.         Attributes Special Options:
  146.         
  147.              Hidden (displays hidden files)
  148.              System (displays system files)
  149.              Directories (displays only subdirectories)
  150.              Archive (displays files needing backup)
  151.              Read Only (displays read only files)
  152.         
  153.         Order of Sort Special Options:
  154.         
  155.              Name (sorts by file name from a-z)
  156.              Extension (sorts by extension from a-z)
  157.              Date & Time (sorts by date & time, earliest to latest)
  158.              Size (sorts by size, smallest to largest)
  159.              Files First (displays all files before subdirectories)
  160.         
  161.              When you select one of the special options, a plus sign 
  162.         (+) appears in front of that option.  This turns it on.  
  163.         Selecting the special option a second time puts a minus sign 
  164.         (-) in front of the option.  This activates the option "in 
  165.         reverse."  For the atttribute options, all files which DO NOT 
  166.         possess this attribute will be displayed.  For order of sort 
  167.         options, the sort order will be reversed.  Selecting the 
  168.         option a third time will toggle it off.
  169.         
  170.              For the Order of Sort options menu, the order in which   
  171.         you select options is important.  This is the order in which  
  172.         those options will appear on the command line.  For example,  
  173.         let's say that you want to have all directories listed first  
  174.         (alphabetically), then all files listed (alphabetically).     
  175.         To select this option, you would first press "o" (for Order   
  176.         of Sort) from the Directory Options menu.  The Special Options
  177.         menu for Order of Sort will activate.  Then press "f" twice   
  178.         (two "reverse" the files first option).  A minus (-) sign     
  179.         and the numeral "1" should appear next to the "Files first"   
  180.         option.  Next, press "n" for "Name" option.  A plus (+)       
  181.         sign and the numeral "2" should appear to the left of the     
  182.         "Name" option.  When the SET DIRCMD= string is written, it    
  183.  
  184.                                      Page 3
  185.  
  186.  
  187.  
  188.  
  189.  
  190.         will appear as "/ogn".                                        
  191.         
  192.              As long as the Special Options menu is active, you can 
  193.         toggle on/reversed/off as many of the appropriate special 
  194.         options as you want.  When you are finished, press ESC and the 
  195.         Directory Options Menu will be reactivated.
  196.         
  197.              If you press "a" or "o" a second time from the Directory
  198.         Options menu, that option (and any of the associated options 
  199.         such as (N)ame, (S)ize, etc.) will be turned off.            
  200.         
  201.              When you are done selecting options, and the Directory
  202.         Options menu is active (surrounded by double lines), press
  203.         ESC to exit.  A message will appear in the lower left hand
  204.         corner displaying the SET DIRCMD= string which you have
  205.         created.
  206.         
  207.                                                                         
  208.         HELP
  209.         
  210.              Pressing F1 from any portion of the program will call up 
  211.         a window displaying context-sensitive help.  There is a sepa- 
  212.         rate, two-part help display for each of the three menus.
  213.          
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.                                      Page 4
  246.  
  247.  
  248.  
  249.  
  250.  
  251.         
  252.         
  253.                                   FORMCMDr
  254.                                   ========
  255.                                 Version  1.6
  256.         
  257.                     Copyright 1992-1993 by Chuck Steenburgh
  258.                              & Tay-Jee Software
  259.         
  260.                             _______
  261.                        ____|__     |               (TM)
  262.                     --|       |    |-------------------
  263.                       |   ____|__  |  Association of
  264.                       |  |       |_|  Shareware
  265.                       |__|   o   |    Professionals
  266.                     -----|   |   |---------------------
  267.                          |___|___|    MEMBER
  268.         
  269.         
  270.            DOS' FORMAT command is one of the most essential of all.
  271.         Unfortunately, it can also be one of the most daunting (not to
  272.         mention dangerous) for new users.  Although DOS 6.00 has made
  273.         the command somewhat easier by eliminating confusing references
  274.         to tracks and sectors on the command line, newer wrinkles were
  275.         introduced with the addition of "QuickFormatting" and the un-
  276.         conditional format.  It is still far too easy to make mistakes.
  277.         
  278.            FORMCMDr does for FORMAT what DIRCMDr Plus does for DIR:
  279.         it provides a menu-driven interface for selecting the various
  280.         formatting options.  With a little help from the DOSKEY program
  281.         and a batch file, we are able to provide support for an environ-
  282.         ment variable, called FORMCMD, to specify default options.
  283.         
  284.         
  285.         GETTING STARTED
  286.         
  287.            To run the FORMCMDr program, type:
  288.            
  289.              FCDR
  290.         
  291.            on the command line and press {Return}.  (See the end of the
  292.         documentation for instructions on an alternate method of launch-
  293.         ing the program.)  You will see a three-part display on your
  294.         screen.
  295.         
  296.            In the upper left portion of the screen is the program menu.
  297.         It contains a list of 10 options.  Specific menu items can be
  298.         selected through the use of a hotkey or a scrolling cursor bar.
  299.         
  300.            The upper right hand corner of the screen contains the
  301.         "Status Board."  This displays the status of each of the options
  302.         which you can select via FORMCMDr.
  303.         
  304.            The lower portion of the screen displays the options current-
  305.  
  306.                                      Page 5
  307.  
  308.  
  309.  
  310.  
  311.  
  312.         ly stored in the FORMCMD environment variable.
  313.         
  314.         
  315.         SELECTING A MENU OPTION
  316.         
  317.            Menu options can be selected by pressing the first letter of
  318.         that option (the "hotkey," highlighted on the menu) or by posi-
  319.         tioning the scrolling bar over that item and pressing {Return}.
  320.         The meaning of each menu item is described below.
  321.         
  322.         Disk Size
  323.         
  324.            Use this option to specify the size of the disk to be format-
  325.         ted.  Upon choosing this item, a second menu will appear listing
  326.         the four most common disk sizes.  To specify one of the more
  327.         uncommon disk sizes, such as a single-sided disk or the new 2.88
  328.         megabyte floppies, select "Weird Disk Sizes," then the proper
  329.         disk size from another menu.
  330.         
  331.            It is alright in some cases to NOT specify a disk size.  In
  332.         this case, the drive will usually format disks to the largest
  333.         size supported by the drive in question.
  334.         
  335.         Target Drive
  336.         
  337.            You must always specify a drive letter to format.  The de-
  338.         fault drive for FORMCMDr is drive A.  After selecting this menu
  339.         option, enter the letter of the drive you wish to format.
  340.         
  341.         Volume Label
  342.         
  343.            Select this menu item to include a volume label on your disk.
  344.         You can enter a label of up to 11 characters.  Use volume labels
  345.         to identify your disks, especially important ones that you might
  346.         not be able to identify from the files they contain.
  347.         
  348.         Quick Format
  349.         
  350.            A quick format does not actually reformat a disk; it essen-
  351.         tially does little more than erase the disk.  Obviously, for
  352.         this to work, the disk must have been previously formatted; you
  353.         must also format the disk to the same size to which it was orig-
  354.         inally formatted.  A quick format is much, much faster than a
  355.         normal format, but since it does not actually format the disk,
  356.         it is less reliable than a true format.
  357.         
  358.            Quick formatting works on standard DOS formatted disks; it
  359.         also works on some disks formatted by non-standard formatting
  360.         programs such as Maxi-Disk.
  361.         
  362.         Unconditional Format
  363.         
  364.            DOS 6.00 provides the capability of unformatting disks.  When
  365.         a disk is reformatted, DOS normally saves certain information
  366.  
  367.                                      Page 6
  368.  
  369.  
  370.  
  371.  
  372.  
  373.         needed to unformat the diskette during the reformatting process.
  374.         This adds several seconds to the formatting time.  To forego
  375.         this feature and speed up the formatting of your disks, select
  376.         this option.
  377.         
  378.         System Disk
  379.         
  380.            A system disk contains the operating system files and the
  381.         command processor and can be used to boot your system.  A system
  382.         disk takes a few seconds longer to format (time to copy the
  383.         system files) and will have approximately 110k less space avail-
  384.         able than a normal disk.  Select this option to create a system
  385.         disk.  Since a system disk cannot be unformatted, it is usually
  386.         a good idea to specify an unconditional format also.
  387.         
  388.         WarpFormat  (DANGER)
  389.         
  390.            DOS 6.00 provides several undocumented switches to allow
  391.         immediate formatting of a disk without prompts or warnings.
  392.         This can be very dangerous!  The /AUTOTEST switch, which is used
  393.         by FORMCMDr to accomplish immediate formatting, will IGNORE the
  394.         usual security features designed to prevent you from formatting
  395.         your hard disk.  While this provides a convenient way to quickly
  396.         format a disk, it should be used sparingly and should NOT be
  397.         set to the environment!
  398.         
  399.         FORMCMD Set
  400.         
  401.            This option causes your selected options to be saved to a
  402.         master environment variable named FORMCMD.  All options except
  403.         for WarpFormat and Volume Label will be saved.
  404.         
  405.         Go For It!
  406.         
  407.            This command will execute FORMAT with the options selected
  408.         and displayed on the Status Board (NOT in the environment dis-
  409.         play at the bottom of the screen).
  410.         
  411.         Abort
  412.         
  413.            This will exit the program without executing FORMAT.  If you
  414.         have specified FORMCMD Set, the environment variable WILL be
  415.         set.
  416.         
  417.         
  418.         THE STATUS BOARD
  419.         
  420.            The Status Board reflects the options currently selected by
  421.         you.  When the program is started normally, all of the options
  422.         will be blank except for two: the Target Drive will be listed
  423.         as drive A and "Safe Format" will be selected.
  424.         
  425.            If the FORMCMD variable is set when the program is started,
  426.         these settings will be reflected on the Status Board initially.
  427.  
  428.                                      Page 7
  429.  
  430.  
  431.  
  432.  
  433.  
  434.         
  435.            Target Drive, Disk Size, and Volume Label will all correspond
  436.         to the values you have selected/input from the menu.  The other
  437.         options are toggled "on" or "off" through the menu.  An option
  438.         is "on" when a check mark appears next to it on the Status 
  439.         Board.
  440.         
  441.            "Safe Format" is initially toggled on.  Selecting "Uncon-
  442.         ditional" from the menu will toggle it off.
  443.         
  444.            As mentioned above, a system disk cannot be unformatted, so
  445.         these options are incompatible with one another.  Likewise,
  446.         QuickFormat and WarpFormat are incompatible.  WarpFormat does
  447.         not support volume labeling; although you may enter a volume
  448.         label if WarpFormat is selected, it will be ignored if WarpFor-
  449.         mat is still active when the F10 key is pressed.
  450.         
  451.         
  452.         USING THE BATCH FILE FMT.BAT
  453.         
  454.            The file FMT.BAT is supplied as a convenient means of acces-
  455.         sing the FORMCMD variable created by the program.  To perform a
  456.         format using the default options specified in the FORMCMD var-
  457.         iable, use the following syntax:
  458.         
  459.              FMT d:
  460.         
  461.         where d: is the letter of the drive you wish to format (usually
  462.         A: or B:).
  463.         
  464.            If you like, you can redefine DOS' FORMAT command to corres-
  465.         pond to FMT.BAT through the use of the following DOSKEY macro:
  466.         
  467.              DOSKEY format=fmt.bat $*
  468.         
  469.         This DOSKEY macro can be implemented by typing the command above
  470.         or by executing the file FMAC.BAT in the distribution archive.
  471.         
  472.            If you have used DOSKEY to redefine your FORMAT command, you
  473.         may from time to time wish to format disks using something OTHER
  474.         than the options defined in the FORMCMD variable.  In this case,
  475.         you have one of two options.  You can type a space before typing
  476.         the word "format" on the command line, adding your options such
  477.         as drive specifier and switches; OR you can type "format x" fol-
  478.         lowed by options such as drive specifier and switches.  The
  479.         first method will simply bypass the DOSKEY macro definition al-
  480.         together; the latter method relies on features within FMT.BAT to
  481.         ignore the FORMCMD variable.
  482.          
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.                                      Page 8
  490.  
  491.  
  492.  
  493.  
  494.  
  495.         
  496.         OMBUDSMAN
  497.         
  498.           These programs are produced by a member of the Association of
  499.         Shareware Professionals (ASP).  ASP wants to make sure that
  500.         the shareware principle works for you.  If you are unable to
  501.         resolve a shareware-related problem with an ASP member by
  502.         contacting the member directly, ASP may be able to help.  The
  503.         ASP Ombudsman can help you resolve a dispute or problem with
  504.         an ASP member, but does not provide technical support for 
  505.         members' products.  Please write to the ASP Ombudsman at 545
  506.         Grover Road, Muskegon, MI 49442 or send a CompuServe message
  507.         via CompuServe Mail to ASP Ombudsman, 70007,3536.
  508.         
  509.         
  510.         DISCLAIMER
  511.         
  512.            The programs described in this documentation are guaran-
  513.         teed to do absolutely nothing!  They have, however, in my exper-
  514.         ience performed essentially as described herein.  The author
  515.         will not be responsible for any loss or damages caused through
  516.         the use of these programs.  No warranty, express or implied,
  517.         is provided for this software's performance, merchantability,
  518.         or fitness for a particular purpose.
  519.         
  520.            All trademarks are property of their respective owners.
  521.            
  522.            The programs and documentation are Copyright 1991-1993 by 
  523.         Chuck Steenburgh and Tay-Jee Software.  You are encouraged to 
  524.         distribute the UNREGISTERED VERSIONS of these programs provided 
  525.         the conditions specified in the file VENDOR.DOC are met.
  526.         
  527.            You may evaluate this software for up to 30 days on a free
  528.         trial basis.  After 30 days, you should register your use of
  529.         the programs.  The registration fee is $15, payable to Tay-Jee
  530.         Software at the address given below.  Registration includes all
  531.         programs in the 6th Sense utility set.
  532.         
  533.            Registration has the following advantages:
  534.         
  535.            - We are improving these programs all the time.  Registration
  536.              will get you IMMEDIATELY a disk with the latest version.
  537.         
  538.            - While we can't promise to include everyone's suggestions
  539.              in program updates, you can bet we'll listen to registered
  540.              users before any of you scrounges out there.
  541.         
  542.            - You will also get an evaluation copy of our text file for-
  543.              matting program (used to produce the margins in this doc-
  544.              ument), and any other electronic creations we have decided
  545.              to unleash on a foolish, unsuspecting world.  This includes
  546.              our best-selling STEENBURGH's STUFF, 19 utility programs
  547.              for use in batch files; and Back Soon!, a message-taking
  548.              utility.
  549.  
  550.                                      Page 9
  551.  
  552.  
  553.  
  554.  
  555.  
  556.         
  557.            Send comments/registrations to:
  558.         
  559.                 Tay-Jee Software
  560.                 Post Office Box 835
  561.                 Lexington, VA 24450
  562.                 (703)464-5290
  563.                 
  564.                 !!!VIRGINIA RESIDENTS ADD 4.5SALES TAX!!! ($0.68)
  565.                 
  566.                 International orders add $5 for shipping.
  567.         
  568.                 CIS 72330,1776 (IBMSYS and IBMPRO forums)
  569.         
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.                                      Page 10